package com.hrt.web.address.province.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hrt.base.BaseDaoImpl;
import com.hrt.bean.Province;
import com.hrt.web.address.province.dao.ProvinceDaoWeb;
@Repository
public class ProvinceDaoImplWeb extends BaseDaoImpl<Province> implements ProvinceDaoWeb{

	@SuppressWarnings("unchecked")
	@Override
	public List<Province> getAllProvince() {
		String hql = "select pro from Province pro where pro.isdelete=0";
		return getHibernateTemplate().find(hql);
	}

}
